// cover some element-ui styles
$--color-primary: rgb(12, 59, 168);

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  margin-bottom: 5vh;
  margin-top: 6vh !important;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-button--primary,
.el-button--primary:focus,
.el-button--primary:hover,
.el-button--default,
.el-button--default:focus,
.el-button--default:hover {
  border-color: #307eff;
  width: 100px;
}

.el-button--default,
.el-button--default:focus,
.el-button--default:hover {
  color: #307eff;
}

.el-button--primary,
.el-button--primary:focus,
.el-button--primary:hover {
  background-color: #307eff;
  color: #fff;
}

.filter-container .el-button--primary,
.filter-container .el-button--default {
  border-radius: 18px;
}

.el-button--primary:hover {
  background-color: #307eff;
  border-color: #307eff;
}

// .el-table th.is-leaf {
//   background-color: rgb(55, 82, 124);
//   border-color: rgb(55, 82, 124);
//   color: #fff;
// }
.el-tabs__item.is-active,
.el-tabs__item.is-active:hover {
  color: #307eff;
  font-weight: 700;
  border-bottom: 2px solid #307eff;
}

.el-tabs__active-bar {
  background-color: #307eff;
}

.el-tabs__nav-wrap::after {
  height: 0px;
}

.el-tabs__item:hover {
  color: #307eff;
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #307eff;
}

.el-input__inner:focus,
.el-select .el-input.is-focus .el-input__inner {
  border-color: #307eff;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-select .el-input__inner:focus,
.el-checkbox__input.is-indeterminate .el-checkbox__inner,
.el-range-editor.is-active,
.el-range-editor.is-active:hover {
  border-color: #307eff;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #307eff;
}

.el-select-dropdown__item.selected {
  color: #307eff;
}

img:hover {
  cursor: pointer;
}

.el-dialog__footer {
  text-align: center;
}

.el-tooltip__popper {
  max-width: 400px !important; //宽度可根据自己需要进行设置
}

.el-tabs__header .is-top {
  background-color: #fff;
  border-radius: 6px 6px 0 0;
  padding-bottom: 20px;
}

.el-tabs__content {
  margin-top: -15px;
}

.el-tabs__nav-scroll {
  padding: 10px 20px 0;
  margin-bottom: -40px;
  display: flex;

  .el-tabs__item {
    padding: 0;
    height: 40px;
    margin: 0 10px;
  }
}
